package com.eax.ModelLayer;

public class LendModel {
	private int id;
	private int copySerialNumber;
	private int personId;
	private String startDate;
	private String returnDate;
	private String lendingPeriodStart;
	private String lendingPeriodReturn;
	private String status;


	public LendModel(int id, int copySerialNumber, int personId, String startDate, String returnDate, String lendingPeriodStart, String lendingPeriodReturn, String status) {
		this.id = id;
		this.copySerialNumber = copySerialNumber;
		this.personId = personId;
		this.startDate = startDate;
		this.returnDate = returnDate;
		this.lendingPeriodStart = lendingPeriodStart;
		this.lendingPeriodReturn = lendingPeriodReturn;
		this.status = status;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCopySerialNumber() {
		return copySerialNumber;
	}

	public void setCopySerialNumber(int copySerialNumber) {
		this.copySerialNumber = copySerialNumber;
	}

	public int getPersonId() {
		return personId;
	}

	public void setPersonId(int personId) {
		this.personId = personId;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getReturnDate() {
		return returnDate;
	}

	public void setReturnDate(String returnDate) {
		this.returnDate = returnDate;
	}

	public String getLendingPeriodStart() {
		return lendingPeriodStart;
	}

	public void setLendingPeriodStart(String lendingPeriodStart) {
		this.lendingPeriodStart = lendingPeriodStart;
	}

	public String getLendingPeriodReturn() {
		return lendingPeriodReturn;
	}

	public void setLendingPeriodReturn(String lendingPeriodReturn) {
		this.lendingPeriodReturn = lendingPeriodReturn;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void printInfo(){
		System.out.println("ID: " + id);
		System.out.println("Copy Serial Number: " + copySerialNumber);
		System.out.println("Person ID: " + personId);
		System.out.println("Start Date: " + startDate);
		System.out.println("Return date: " + returnDate);
		System.out.println("Lending Period Start: " + lendingPeriodStart);
		System.out.println("Lending Period Return: " + lendingPeriodReturn);
		System.out.println("Status: " + status);

	}
}